package com.sora.transport;

import com.sora.entity.RpcRequest;
import com.sora.serializer.CommonSerializer;

/**
 * @Classname: RpcClent
 * @Description:
 * @Author: Stonffe
 * @Date: 2023/4/30 19:47
 */
public interface RpcClient {
    int DEFAULT_SERIALIZER = CommonSerializer.KRYO_SERIALIZER;
    /**
     * 发送请求
     * @param rpcRequest
     * @return
     */
    Object sendRequest(RpcRequest rpcRequest);
}
